package org.example.DAO;

import org.example.entity.Favorite;

import java.sql.SQLException;
import java.util.List;

public interface FavoriteDao {

    boolean addFavorite(Favorite favorite) throws SQLException;


    boolean removeFavorite(int userId, int contentId, String contentType) throws SQLException;


    boolean isFavorite(int userId, int contentId, String contentType) throws SQLException;

    List<Favorite> getUserFavorites(int userId) throws SQLException;
}